<div class="sidebar">
    <div class="sidebar-dropdown"><a href="#">导航</a></div>

    <!--- Sidebar navigation -->
    <!-- If the main navigation has sub navigation, then add the class "has_sub" to "li" of main navigation. -->
    <ul id="nav">
      <!-- Main menu with font awesome icon -->
      
      <li class="has_sub "><a href="#" class="subdrop"><i class="icon-bar-chart"></i>项目配置</a>
        <ul>
          <li><a href="{:APP_NAME}/index.php/ProjectConfig/index">项目配置</a></li>
          <li><a href="{:APP_NAME}/index.php/ProjectConfig/formConfig">表单配置</a></li>
        </ul>
      </li>

      <li><a href="{:APP_NAME}/index.php/CreateLayout"><i class="icon-bar-chart"></i>公共文件生成</a></li>
      <li><a href="{:APP_NAME}/index.php/WedgitCode/menu"><i class="icon-bar-chart"></i>菜单生成</a></li>
      <li><a href="{:APP_NAME}/index.php/ViewCode"><i class="icon-tasks"></i>前台界面生成</a></li>      
      <li><a href="{:APP_NAME}/index.php/ControllerCode"><i class="icon-bar-chart"></i>控制器代码生成</a></li>
      <li class="has_sub "><a href="#"><i class="icon-table"></i>模型代码生成</a>
        <ul>
          <li><a href="{:APP_NAME}/index.php/ModelCode/index">简易模型代码生成</a></li>
          <li><a href="{:APP_NAME}/index.php/ModelCode/index2">手动模型代码生成</a></li>
        </ul>
      </li>
      <li><a href="{:APP_NAME}/index.php/Index/help"><i class="icon-calendar"></i>帮助</a></li>
    </ul>
</div>